<template>
    <div v-for="(item, index) in navList" :key="index">
        <nav-list-item :itemContent="item"></nav-list-item>
    </div>
</template>
<script>
import NavListItem from './NavListItem.vue'
    export default {
        components: {NavListItem},
        props: {
            navList: {
                type: Array,
                default: ()=>[]
            }
        }
    }
</script>